package edu.hwadee.entity;

/**
 * Carsellcomplement entity. @author MyEclipse Persistence Tools
 */

public class Carsellcomplement implements java.io.Serializable {

	// Fields

	private Integer carsellcomplementId;
	private Carstock carstock;
	private Carsell carsell;
	private Short number;
	private Float actualPrice;
	private Float earn;
	private Float taxFee;
	private Float saleCommission;
	private Float profit;

	// Constructors

	/** default constructor */
	public Carsellcomplement() {
	}

	/** full constructor */
	public Carsellcomplement(Carstock carstock, Carsell carsell, Short number, Float actualPrice, Float earn,
			Float taxFee, Float saleCommission, Float profit) {
		this.carstock = carstock;
		this.carsell = carsell;
		this.number = number;
		this.actualPrice = actualPrice;
		this.earn = earn;
		this.taxFee = taxFee;
		this.saleCommission = saleCommission;
		this.profit = profit;
	}

	// Property accessors

	public Integer getCarsellcomplementId() {
		return this.carsellcomplementId;
	}

	public void setCarsellcomplementId(Integer carsellcomplementId) {
		this.carsellcomplementId = carsellcomplementId;
	}

	public Carstock getCarstock() {
		return this.carstock;
	}

	public void setCarstock(Carstock carstock) {
		this.carstock = carstock;
	}

	public Carsell getCarsell() {
		return this.carsell;
	}

	public void setCarsell(Carsell carsell) {
		this.carsell = carsell;
	}

	public Short getNumber() {
		return this.number;
	}

	public void setNumber(Short number) {
		this.number = number;
	}

	public Float getActualPrice() {
		return this.actualPrice;
	}

	public void setActualPrice(Float actualPrice) {
		this.actualPrice = actualPrice;
	}

	public Float getEarn() {
		return this.earn;
	}

	public void setEarn(Float earn) {
		this.earn = earn;
	}

	public Float getTaxFee() {
		return this.taxFee;
	}

	public void setTaxFee(Float taxFee) {
		this.taxFee = taxFee;
	}

	public Float getSaleCommission() {
		return this.saleCommission;
	}

	public void setSaleCommission(Float saleCommission) {
		this.saleCommission = saleCommission;
	}

	public Float getProfit() {
		return this.profit;
	}

	public void setProfit(Float profit) {
		this.profit = profit;
	}

}